package com.qingzhuge.netty.common.autoconfigure;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author : zero.xiao
 * @description :
 * @date : 2018/9/28 0028 下午 15:43
 * @modified :
 * @since :
 */
@Setter
@Getter
@Component
@ConfigurationProperties(prefix = "qingting.netty.server")
public class NettyServerProperties {
    private int port = 11023;
    private String host;
    private String heartbeat = "QT";
}
